home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19941221-19950208 / 000408_news@columbia.edu_Sat Feb 4 17:23:29 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA02607
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Sat, 4 Feb 1995 12:23:36 -0500
  3. Received: by apakabar.cc.columbia.edu id AA26106
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Sat, 4 Feb 1995 12:23:34 -0500
  5. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  6. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: Getting back to C-Kermit command level when using a command file
  9. Date: 4 Feb 1995 17:23:29 GMT
  10. Organization: Columbia University
  11. Lines: 40
  12. Message-Id: <3h0d6h$pfo@apakabar.cc.columbia.edu>
  13. References: <1995Feb4.022222.12173@ivax>
  14. Nntp-Posting-Host: watsun.cc.columbia.edu
  15. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  16.  
  17. In article <1995Feb4.022222.12173@ivax>,
  18. James Harvey <harvey@indyvax.iupui.edu> wrote:
  19. >I have a question about C-Kermit 5A(190) on a VAX.  We use this to
  20. >provide dialout services under a menu system using a C-Kermit command file.
  21. >The command file is passed the number to dial on the command line like
  22. >this:
  23. >
  24. >$ CKERMIT dialing-command-file -Y = number-to-call
  25. >
  26. I think that should be:
  27.  
  28. $ CKERMIT dialing-command-file "-Y" = number-to-call
  29.  
  30. VMS lowercases your command-line options unless you enclose them in
  31. quotes.  If it worked for you without quotes, it's an accident :-)
  32.  
  33. >Currently when the user types the sequence to escape back to C-Kermit
  34. >command level, the end of the command file is reached and C-Kermit exits.
  35. >I would like to add an option to allow the user to instead get the C-Kermit
  36. >prompt and be able to type in more C-Kermit commands (e.g., for file transfer
  37. >and to connect again), but I haven't been able to figure out how to do this
  38. >from the manual.
  39. >
  40. Pages 316 and 323.
  41.  
  42. It's the "-S" option (uppercase), for "Stay":
  43.  
  44. $ CKERMIT dialing-command-file "-Y" "-S" = number-to-call
  45.  
  46. I don't think the "-S" should be necessary, though.  When you invoke a
  47. command file by giving its name as the first command-line argument, this
  48. should not cause an automatic exit.  (Of course, Kermit will exit if the
  49. command file contains an EXIT or QUIT command.)  So any of the following
  50. should work:
  51.  
  52. $ CKERMIT dialing-command-file "-Y" = number-to-call
  53.  
  54. $ CKERMIT -y dialing-command-file = number-to-call
  55.  
  56. - Frank